package com.hq.shop06back.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {

    @GetMapping("{model}/{page}.html")
    public String toPage(@PathVariable String model, @PathVariable String page) {
        return model + "/" + page;
    }
}
